package cn.edu.scau.cmi.suyaoxing.abstractFactory;

public abstract class InsuranceCompany {
	public static InsuranceCompany getInsurCom(int number){
		switch(number) {
		case 0: return new PICC();
		case 1:return new PingAn();
		default:return null;
		}
		
	}
	public abstract BodyInjure getBodyInjure();
	public abstract PersonInjure getPersonInjure();
	public abstract Collision getCollision();
	public abstract Com getCom();
}
